$(function(){
	
	$("#saveuser").click(function(){
		var  realname=$("#realname").val();
		var  phone=$("#phone").val();
		var  emial=$("#emial").val();
		alert("sad"+realname);
		$.ajax({
			url:"/travle/user/modify.do",
			type:"post",
			data:{"realname":realname,"phone":phone,"emial":emial},
			success:function(result){
				alert(result.msg);
			},
			error:function(){
				alert("修改失败！")
			}
		})
	})
	
	
})